fix(lints): Improve ill_formed_attribute_input with better help message#154722
fix(lints): Improve ill_formed_attribute_input with better help message#154722JayanAXHF wants to merge 1 commit intorust-lang:mainfrom
ill_formed_attribute_input with better help message#154722Conversation
|
Some changes occurred in compiler/rustc_attr_parsing |
|
rustbot has assigned @petrochenkov. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
r? me |
|
This change seems to have no tests. Did no tests change or do we not have a test for this new behavior yet? |
|
@rustbot author |
d60f71d to
94b8874
Compare
|
Oops forgot about that. @jdonszelmann I've added a test for this, lmk if there are any more changes to be made @rustbot ready |
…uwer Rollup of 4 pull requests Successful merges: - #154444 (rustdoc ICE fix: When collecting `Deref` impls with their targets, skip the negative ones) - #154590 (Make #[cfg] suggest any or all on #[cfg(a, b)]) - #154691 (core: Update the feature gate on `TryFrom<integer> for bool`) - #154697 (rustdoc: fix href of extern crates in search results) Failed merges: - #154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message)
Rollup of 6 pull requests Successful merges: - #154444 (rustdoc ICE fix: When collecting `Deref` impls with their targets, skip the negative ones) - #154590 (Make #[cfg] suggest any or all on #[cfg(a, b)]) - #154691 (core: Update the feature gate on `TryFrom<integer> for bool`) - #154697 (rustdoc: fix href of extern crates in search results) - #154728 (rustdoc: Improve internal function name) - #154732 (fix(std): avoid AT_MINSIGSTKSZ on uclibc targets) Failed merges: - #154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3c1715d to
94b8874
Compare
This comment has been minimized.
This comment has been minimized.
…sage for the cases where it matches the usage of #![allow]
94b8874 to
4c83a3d
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@rustbot ready |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Add a better help message to
ill_formed_attribute_inputfor the cases where it matches the usage of#![allow].For further details see #154667
closes #154667
cc: @Zalathar